<?php

class ExceptionManager extends PDOException{

	private $error;

	public function __construct($exp){
		$this->error=$exp;
	}

	public function showError(){
		echo "Loi ::".$this->error;
	}

}


?>